/*
 * Mandelbrot.h
 *
 *  Created on: 03-08-2011
 *      Author: rego
 */

#ifndef CRITICALPRECISIONLISTENER_H_
#define CRITICALPRECISIONLISTENER_H_

class MagNum;

class CriticalPrecisionListener {
public:
	virtual void onCriticalPrecisionReached(const MagNum& number) = 0;
	virtual ~CriticalPrecisionListener() {}
};

class CriticalPrecisionListenerImpl : public CriticalPrecisionListener {
public:
	virtual void onCriticalPrecisionReached(const MagNum& number);
};

#endif /* CRITICALPRECISIONLISTENER_H_ */
